<?php 
class getPrivateHistoriesAction extends AdminMaster{
	public function execute($request){
		$action = $request->getParameter('action_name', '');
		$data = array();
			
		if($action == ADMIN_DEFINED::JSON_PRIVATE_HISTORY){
			$json = CandidatePrivatesTable::getDataList(null);
			foreach($json as $j){
				$data['privates'][] = $j['private_name'];
			}
		
		}
		
		print_r(json_encode($data));
		die;
	}
}